#ifndef SELECTION_H_H_H
#define SELECTION_H_H_H

#include "Sort.h"

class SelectionSort : public Sort{
protected:
	SelectionSort() {}

public:
	virtual void Iterative(int list[], int n) {}
	virtual void Recursive(int list[], int n) {}

	virtual ~SelectionSort() {}
};

//简单选择排序
class SimpleSelection : public SelectionSort {
	virtual void Iterative(int list[], int n);
	virtual void Recursive(int list[], int n);

	virtual ~SimpleSelection() {}
};

//堆排序
class HeapSelection : public SelectionSort {
	virtual void Iterative(int list[], int n);
	virtual void Recursive(int list[], int n);

	virtual ~HeapSelection() {}
};

#endif
